package org.jeecg.modules.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.entity.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: db_purpose
 * @Author: jeecg-boot
 * @Date:   2024-06-13
 * @Version: V1.0
 */
@Data
@TableName("db_purpose")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="db_purpose对象", description="db_purpose")
public class DbPurpose extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**关联合同id*/
    @Excel(name = "关联合同id", width = 15)
    @ApiModelProperty(value = "contractId")
    private java.lang.String contractId;
	/**客户名称*/
	@Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private java.lang.String cusName;
	/**意向内容*/
	@Excel(name = "意向内容", width = 15)
    @ApiModelProperty(value = "意向内容")
    private java.lang.String content;
	/**意向类型*/
	@Excel(name = "意向类型",dicCode = "contract_type", width = 15)
    @ApiModelProperty(value = "意向类型")
    @Dict(dicCode = "contract_type")
    private java.lang.Integer type;
    /**意向状态*/
    @Excel(name = "意向状态",dicCode = "status", width = 15)
    @ApiModelProperty(value = "意向状态")
    @Dict(dicCode = "status")
    private java.lang.Integer status;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
    private java.lang.String phone;
	/**联系人*/
	@Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private java.lang.String contact;
	/**周期*/
	@Excel(name = "周期", width = 15)
    @ApiModelProperty(value = "周期")
    private java.lang.String period;
	/**期望日期*/
	@Excel(name = "期望日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "期望日期")
    private java.util.Date expectedDate;
	/**附件*/
	@Excel(name = "附件分组id", width = 15)
    @ApiModelProperty(value = "附件分组id")
    private java.lang.String fileGroupId;
    /**意向金额*/
    @Excel(name = "意向金额", width = 15)
    @ApiModelProperty(value = "意向金额")
    private BigDecimal money;
	/**报价*/
	@Excel(name = "报价", width = 15)
    @ApiModelProperty(value = "报价")
    private BigDecimal estimate;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String note;

    @TableField(exist = false)
    @ApiModelProperty(value = "文件ids")
    private List<String> fileIds;

}
